package com.ase.leetcode.list;

import java.util.ArrayList;

/**
 * @author gyhstart
 * @create 2021/4/11 - 23:40
 **/
public class List {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        list.add("12");
        String s = list.get(0);
        System.out.println("s = " + s);
        System.out.println("list = " + list.size());
        list.add(1,"123");
//        boolean contains = list.contains("123");
//        System.out.println("contains = " + contains);
        System.out.println("2 >> 1 = " + (2 << 2));
        System.out.println("list = " + list.size());
        list.remove(1);
    }
}
